<?php $this->load->view('teacher_home/_header') ?>
<?php $this->load->view('message') ?>
<head>
<script tyep="text/javascript">
  $().ready(function(){
    $("#module_li").addClass("active");  
  });
</script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    </head>
<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading">
			<h3 class="panel-title">查看模块</h3>
		</div>
		<div class="panel-body">
			<fieldset>
					<div class="form-group">
						<label class="col-lg-2 control-label">名称:</label>
						<div class="col-lg-10">
							<p ><?=$module['name']?></p>
						</div>

					</div>


					<div class="form-group">
						<label class="col-lg-2 control-label">考试时间:</label>
						<div class="col-lg-10">
							<p ><?=$module['time_limit']?>分钟</p>
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-lg-2 control-label">相关课程:</label>
						<div class="col-lg-10">
							<p ><?=$module['big_lecture_name']?></p>
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-lg-2 control-label">相关考点:</label>
						<div class="col-lg-10">
							<?php foreach ($relative_test_points as $item): ?>
								<p class="text-success"><?=$item['content']?></p>
							<?php endforeach ?>
							
						</div>
						
					</div>
					<div class="form-group">
						<label class="col-lg-2 control-label"></label>
						<div class="col-lg-10">
							<a class="btn btn-primary" href="<?php echo site_url('teacher_module/edit').'/'.$module['id']?>">编辑</a>
							<a class="btn btn-primary" href="<?php echo site_url('teacher_module/index') ?>">返回</a>
						</div>
						
					</div>
					
				</fieldset>

		</div>
	</div>
</div>
<?php $this->load->view('admin_home/_footer')?>